package com.cheng.im.common.protobuiler;

import com.cheng.im.common.bean.msg.ProtoMsgV1;

public class MessageBuilder {

    public static ProtoMsgV1.Message updateSessionId(ProtoMsgV1.Message message, String sessionId) {
        ProtoMsgV1.Message.Builder builder = message.toBuilder();
        builder.setSessionId(sessionId);

        return builder.build();
    }
}
